cURL
curl --request DELETE \ --url https://api.paywalls.ai/v1/webhooks/subscriptions/{subscriptionId} \ --header 'Authorization: Bearer <token>'
{ "deactivated": true, "subscription": { "id": "<string>", "paywallId": "<string>", "url": "<string>", "events": [ "<string>" ], "isActive": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "secretSuffix": "<string>", "description": "<string>", "customHeaders": {}, "createdBy": "<string>", "consecutiveFailures": 123, "lastDeliveredAt": "2023-11-07T05:31:56Z", "secret": "<string>" } }
Marks the subscription as inactive to stop future deliveries.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique identifier of the webhook subscription.
Subscription deactivated.
true
Configuration for a webhook endpoint that receives paywall events.
Show child attributes
Was this page helpful?